﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame1.ItemClasses
{
    public enum ItemSize { Tiny, Small, Medium, Large };

    public abstract class BaseItem : ICloneable
    {
        string name;
        int price;
        int weight;
        ItemSize itemSize;

        public string Name
        {
            get { return name; }
            protected set { name = value; }
        }

        public int Price
        {
            get { return price; }
            protected set { price = value; }
        }

        public int Weight
        {
            get { return weight; }
            protected set { weight = value; }
        }

        public ItemSize Size
        {
            get { return itemSize; }
            protected set { itemSize = value; }
        }

        public BaseItem(string name, int price, int weight, ItemSize size)
        {
            Name = name;
            Price = price;
            Weight = weight;
            Size = size;
        }

        public abstract object Clone();
    }
}
